package com.kehutong.house.entity;

import com.kehutong.common.entity.DataEntity;
import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.annotation.UnSave;
import org.coraframework.orm.util.IDType;

import java.util.List;

/**
 * TODO  供应商
 *
 * @author zwp
 * @version 1.0
 * @date 2021/6/29 16:14
 */
@Table(value="t_supplier", idType= IDType.TIMESTAMP)
public class Supplier extends DataEntity {

    private static final long serialVersionUID = -696922457272435724L;

    protected Supplier(String id) {
        super(id);
    }

    @UnSave
    private String goodsName;  //供应物品名称

    @Column(comment="供应商名称")
    private String name;

    @Column(comment="助记名称")
    private String mnemonicName;

    @Column(comment="供应物品id",length=400)
    private List<String> goodsId;

    @Column(comment="归属人员")
    private String ower;

    @Column(comment="类型")
    private String customerType;

    @Column(comment="状态")
    private boolean status;

    @Column(comment = "所在地区")
    private List<String> area_ids;

    @Column(comment = "所在地区名称", length=127)
    private List<String> area_names;

    @Column(comment="详细地址")
    private String address;

    @Column(comment="企业规模")
    private String enterpriseScale;

    @Column(comment="企业备注信息",length=400)
    private String enterpriseRemark;

    @Column(comment="联系人姓名")
    private String liaisonMan;

    @Column(comment="尊称")
    private String sirLady;

    @Column(comment="角色")
    private String role;

    @Column(comment="生日")
    private String birthDay;

    @Column(comment="部门职务")
    private String job;

    @Column(comment="手机号码")
    private String phone;

    @Column(comment="固定电话")
    private String mobile;

    @Column(comment="传真号码")
    private String faxNumber;

    @Column(comment="电子邮箱")
    private String email;

    @Column(comment="微信账号")
    private String wxNo;

    @Column(comment="QQ号码")
    private String qq;

    @Column(comment="联系人备注信息",length=400)
    private String personRemark;

    @JSONField(serialize=false)
    @Column(comment="逻辑删除")
    private boolean deleted;


    public List<String> getArea_names() {
        return area_names;
    }

    public void setArea_names(List<String> area_names) {
        this.area_names = area_names;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMnemonicName() {
        return mnemonicName;
    }

    public void setMnemonicName(String mnemonicName) {
        this.mnemonicName = mnemonicName;
    }

    public String getOwer() {
        return ower;
    }

    public void setOwer(String ower) {
        this.ower = ower;
    }

    public String getCustomerType() {
        return customerType;
    }

    public void setCustomerType(String customerType) {
        this.customerType = customerType;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getAddress() {
        return address;
    }

    public List<String> getArea_ids() {
        return area_ids;
    }

    public void setArea_ids(List<String> area_ids) {
        this.area_ids = area_ids;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEnterpriseScale() {
        return enterpriseScale;
    }

    public void setEnterpriseScale(String enterpriseScale) {
        this.enterpriseScale = enterpriseScale;
    }

    public String getEnterpriseRemark() {
        return enterpriseRemark;
    }

    public void setEnterpriseRemark(String enterpriseRemark) {
        this.enterpriseRemark = enterpriseRemark;
    }

    public String getLiaisonMan() {
        return liaisonMan;
    }

    public void setLiaisonMan(String liaisonMan) {
        this.liaisonMan = liaisonMan;
    }

    public String getSirLady() {
        return sirLady;
    }

    public void setSirLady(String sirLady) {
        this.sirLady = sirLady;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getBirthDay() {
        return birthDay;
    }

    public void setBirthDay(String birthDay) {
        this.birthDay = birthDay;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getFaxNumber() {
        return faxNumber;
    }

    public void setFaxNumber(String faxNumber) {
        this.faxNumber = faxNumber;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getWxNo() {
        return wxNo;
    }

    public void setWxNo(String wxNo) {
        this.wxNo = wxNo;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getPersonRemark() {
        return personRemark;
    }

    public void setPersonRemark(String personRemark) {
        this.personRemark = personRemark;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public List<String> getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(List<String> goodsId) {
        this.goodsId = goodsId;
    }
}
